home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / software / radiance / ez3d / win95nt / data.z / Cube.primitive.object.iv < prev    next >
Text File  |  1995-07-13  |  6KB  |  323 lines

  1. #Inventor V2.0 ascii
  2.  
  3. DEF Potter003 RsnPotterKit {
  4.     fields [ SFEnum renderCaching,
  5.         SFShort type,
  6.         SFShort isHidden,
  7.         SFShort isJoinEndsU,
  8.         SFShort isJoinEndsV,
  9.         MFLong pieceIx,
  10.         MFShort isHole,
  11.         MFLong numSurfU,
  12.         MFLong numSurfV,
  13.         MFLong numCtrlPtsRow,
  14.         MFLong pieceFacesIx,
  15.         MFLong pieceTessRow,
  16.         MFLong sectionIndex,
  17.         SFNode appearance,
  18.         SFNode transform,
  19.         SFNode normalBinding,
  20.         SFNode shapeHints,
  21.         SFNode coordinate3,
  22.         SFNode normal,
  23.         SFNode shape,
  24.         SFNode normTex,
  25.         SFNode render,
  26.         SFNode alternate,
  27.         SFNode ctrlCoordinate3,
  28.         SFNode splineSurfList,
  29.         SFNode section,
  30.         SFNode profile,
  31.          ]
  32.     renderCaching    ON
  33.     type    4
  34.     isHidden    0
  35.     isJoinEndsU    1
  36.     isJoinEndsV    0
  37.     pieceIx    0
  38.     isHole    0
  39.     numSurfU    1
  40.     numSurfV    1
  41.     numCtrlPtsRow    5
  42.     pieceFacesIx    [ 32, 40, 48 ]
  43.     pieceTessRow    5
  44.     sectionIndex    [  ]
  45.     appearance        AppearanceKit {
  46.     lightModel        LightModel {
  47.         model    PHONG
  48.     }
  49.  
  50.     drawStyle        DrawStyle {
  51.         style    FILLED
  52.     }
  53.  
  54.     material        DEF _RS_MATERIAL_DUP_ Material {
  55.     }
  56.  
  57.     complexity        Complexity {
  58.         type    OBJECT_SPACE
  59.     }
  60.  
  61.     texture2        Texture2 {
  62.     }
  63.  
  64.     }
  65.  
  66.     transform        Transform {
  67.     }
  68.  
  69.     normalBinding        NormalBinding {
  70.     value    PER_VERTEX
  71.     }
  72.  
  73.     shapeHints        ShapeHints {
  74.     vertexOrdering    COUNTERCLOCKWISE
  75.     faceType    CONVEX
  76.     }
  77.  
  78.     coordinate3        DEF +0 Coordinate3 {
  79.     point    [ -1 1 1,
  80.               1 1 1,
  81.               1 1 -1,
  82.               -1 1 -1,
  83.               -1 1 1,
  84.               -1 -1 1,
  85.               1 -1 1,
  86.               1 -1 -1,
  87.               -1 -1 -1,
  88.               -1 -1 1 ]
  89.     }
  90.  
  91.     normal        Normal {
  92.     vector    [ 0 0 1,
  93.               0 0 1,
  94.               0 0 1,
  95.               0 0 1,
  96.               1 0 0,
  97.               1 0 0,
  98.               1 0 0,
  99.               1 0 0,
  100.               0 0 -1,
  101.               0 0 -1,
  102.               0 0 -1,
  103.               0 0 -1,
  104.               -1 0 0,
  105.               -1 0 0,
  106.               -1 0 0,
  107.               -1 0 0,
  108.               0 1 0,
  109.               0 1 0,
  110.               0 1 0,
  111.               0 1 0,
  112.               0 -1 0,
  113.               0 -1 0,
  114.               0 -1 0,
  115.               0 -1 0 ]
  116.     }
  117.  
  118.     shape        IndexedTriangleStripSet {
  119.     coordIndex    [ 0, 5, 1, 6, -1, 1, 6, 2,
  120.               7, -1, 2, 7, 3, 8, -1, 3,
  121.               8, 0, 5, -1, 1, 2, 0, 3,
  122.               -1, 6, 5, 7, 8, -1 ]
  123.     }
  124.  
  125.     normTex        RsnNormTexKit {
  126.     fields [  ]
  127.     }
  128.  
  129.     render        RsnRenderKit {
  130.     fields [ SFShort textureMode,
  131.         MFShort textureComponent,
  132.         MFFloat textureSize,
  133.         SFNode textureList,
  134.          ]
  135.     textureMode    1
  136.     textureComponent    [  ]
  137.     textureSize    [  ]
  138.     textureList        NodeKitListPart {
  139.         childTypeNames    "Texture2"
  140.         containerNode            Group {
  141.         DEF _RS_INTERNAL_ Texture2 {
  142.         }
  143.         }
  144.  
  145.     }
  146.  
  147.     }
  148.  
  149.     alternate        Switch {
  150.     whichChild    -1
  151.     }
  152.  
  153.     ctrlCoordinate3        DEF +1 Coordinate3 {
  154.     point    [ -1 1 1,
  155.               1 1 1,
  156.               1 1 -1,
  157.               -1 1 -1,
  158.               -1 1 1,
  159.               -1 -1 1,
  160.               1 -1 1,
  161.               1 -1 -1,
  162.               -1 -1 -1,
  163.               -1 -1 1 ]
  164.     }
  165.  
  166.     splineSurfList        NodeKitListPart {
  167.     childTypeNames    "RsnSplineSurfKit"
  168.     containerNode        Group {
  169.         RsnSplineSurfCatRomKit {
  170.         fields [ SFShort startCtrlPts,
  171.             SFShort numCtrlPtsRow,
  172.             SFShort numCtrlPtsU,
  173.             SFShort numCtrlPtsV,
  174.             SFShort startTessPts,
  175.             SFShort numTessStepsRow,
  176.             SFShort numTessStepsU,
  177.             SFShort numTessStepsV,
  178.             SFShort orderU,
  179.             SFShort orderV,
  180.             SFNode ctrlCoordinate3,
  181.             SFNode coordinate3,
  182.             SFNode bezierCoordinate3 ]
  183.         startCtrlPts    0
  184.         numCtrlPtsRow    5
  185.         numCtrlPtsU    5
  186.         numCtrlPtsV    2
  187.         startTessPts    0
  188.         numTessStepsRow    4
  189.         numTessStepsU    1
  190.         numTessStepsV    4
  191.         orderU    4
  192.         orderV    2
  193.         ctrlCoordinate3            USE +1
  194.  
  195.         coordinate3            USE +0
  196.  
  197.         bezierCoordinate3            Coordinate3 {
  198.             point    [  ]
  199.         }
  200.  
  201.         }
  202.     }
  203.  
  204.     }
  205.  
  206.     section        NodeKitListPart {
  207.     childTypeNames    "RsnSplineSetKit"
  208.     containerNode        Group {
  209.         RsnSplineSetKit {
  210.         fields [ SFShort isJoinEnds,
  211.             SFNode ctrlCoordinate3,
  212.             SFNode coordinate3,
  213.             SFNode splineList ]
  214.         isJoinEnds    1
  215.         ctrlCoordinate3            DEF +2 Coordinate3 {
  216.             point    [ -1 -1 0,
  217.                       1 -1 0,
  218.                       1 1 0,
  219.                       -1 1 0,
  220.                       -1 -1 0 ]
  221.         }
  222.  
  223.         coordinate3            DEF +3 Coordinate3 {
  224.             point    [ -1 -1 0,
  225.                       1 -1 0,
  226.                       1 1 0,
  227.                       -1 1 0,
  228.                       -1 -1 0 ]
  229.         }
  230.  
  231.         splineList            NodeKitListPart {
  232.             childTypeNames    "RsnSplineKit"
  233.             containerNode                Group {
  234.             RsnSplineCatRomKit {
  235.                 fields [ SFShort startCtrlPts,
  236.                     SFShort numCtrlPts,
  237.                     SFShort startTessPts,
  238.                     SFShort numTessSteps,
  239.                     SFShort isStartNew,
  240.                     SFShort order,
  241.                     SFNode ctrlCoordinate3,
  242.                     SFNode coordinate3,
  243.                     SFNode bezierCoordinate3 ]
  244.                 startCtrlPts    0
  245.                 numCtrlPts    5
  246.                 startTessPts    0
  247.                 numTessSteps    1
  248.                 isStartNew    0
  249.                 order    4
  250.                 ctrlCoordinate3                    USE +2
  251.  
  252.                 coordinate3                    USE +3
  253.  
  254.                 bezierCoordinate3                    Coordinate3 {
  255.                 point    [  ]
  256.                 }
  257.  
  258.             }
  259.             }
  260.  
  261.         }
  262.  
  263.         }
  264.     }
  265.  
  266.     }
  267.  
  268.     profile        NodeKitListPart {
  269.     childTypeNames    "RsnSplineSetKit"
  270.     containerNode        Group {
  271.         RsnSplineSetKit {
  272.         fields [ SFNode ctrlCoordinate3,
  273.             SFNode coordinate3,
  274.             SFNode splineList ]
  275.         ctrlCoordinate3            DEF +4 Coordinate3 {
  276.             point    [ 1 1 0,
  277.                       1 -1 0 ]
  278.         }
  279.  
  280.         coordinate3            DEF +5 Coordinate3 {
  281.             point    [ 1 1 0,
  282.                       1 -1 0 ]
  283.         }
  284.  
  285.         splineList            NodeKitListPart {
  286.             childTypeNames    "RsnSplineKit"
  287.             containerNode                Group {
  288.             RsnSplineCatRomKit {
  289.                 fields [ SFShort startCtrlPts,
  290.                     SFShort numCtrlPts,
  291.                     SFShort startTessPts,
  292.                     SFShort numTessSteps,
  293.                     SFShort isStartNew,
  294.                     SFShort order,
  295.                     SFNode ctrlCoordinate3,
  296.                     SFNode coordinate3,
  297.                     SFNode bezierCoordinate3 ]
  298.                 startCtrlPts    0
  299.                 numCtrlPts    2
  300.                 startTessPts    0
  301.                 numTessSteps    4
  302.                 isStartNew    0
  303.                 order    4
  304.                 ctrlCoordinate3                    USE +4
  305.  
  306.                 coordinate3                    USE +5
  307.  
  308.                 bezierCoordinate3                    Coordinate3 {
  309.                 point    [  ]
  310.                 }
  311.  
  312.             }
  313.             }
  314.  
  315.         }
  316.  
  317.         }
  318.     }
  319.  
  320.     }
  321.  
  322. }
  323.